package bingo.component.amchart.graphics.chart;

import java.util.ArrayList;
import java.util.List;

import bingo.component.amchart.graphics.BaseGraphic;

/**
 * Jun 25, 2008 10:39:15 AM
 * Author:yangdongyu(yangdy@bingosoft.net)
 * ReadMe:	
 * ChangeLog:
 */
public class Graph extends BaseGraphic{
	private String gid;
	private String title;
	private List <Value> values = new ArrayList <Value>();
	
	
	public GraphicType getGraphicType() {
		return null;
	}

	public boolean isRootElement() {
		return false;
	}



	public List<Value> getValues() {
		return values;
	}

	public void setValues(List<Value> values) {
		this.values = values;
	}

	public String getGid() {
		return gid;
	}

	public void setGid(String gid) {
		this.gid = gid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public Graph addValue(Value value){
		this.values.add(value);
		return this;
	}

}
